import request from '@/utils/request'
export function list(params,type) {
    return request({
        url: '/app/git/list',
        method: 'get',
        params: params,
        type:type
    })
}
export function save(data,params) {
    return request({
        url: '/app/git/save',
        method: 'post',
        data: data,
        params:params
    })
}
export function update(data,params) {
    return request({
        url: '/app/git/update',
        method:'put',
        data: data,
        params:params
    })
}
export function del(params) {
    return request({
        url: '/app/git/delete',
        method: 'delete',
        params:params
    })
}
export function queryById(params) {
    return request({
        url: '/app/git/queryById',
        method:'get',
        params:params
    })
}
export function projGitsave(data) {
    return request({
        url: '/app/projGit/save',
        method:'post',
        data:data
    })
}
export function projGitdelect(params) {
    return request({
        url: '/app/projGit/relationDel',
        method:'delete',
        params:params
    })
}